﻿<?xml version="1.0" encoding="utf-8"?>
<hibernate-configuration  xmlns="urn:nhibernate-configuration-2.2" >
  <session-factory name="NHibernate.Test">
    <!--<property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
    <property name="connection.connection_string">
      Server=.\sqlexpress;initial catalog=lightweb;Integrated Security=SSPI
    </property>
    <property name="dialect">NHibernate.Dialect.MsSql2008Dialect</property>-->
    <!--<property name="connection.driver_class">NHibernate.Driver.MySqlDataDriver</property>
    <property name="connection.connection_string">
      Server=Mysql1001.webweb.com;Database=db_98dd7e_lightweb;Uid=98dd7e_lightweb;Pwd=flyearcheng;
    </property>
    <property name="dialect">NHibernate.Dialect.MySQLDialect</property>-->

    <property name="connection.driver_class">NHibernate.Driver.SQLite20Driver</property>
    <property name="connection.connection_string">
      Data Source=lightweb_test.db;Version=3
    </property>
    <property name="dialect">NHibernate.Dialect.SQLiteDialect</property>
    <property name="query.substitutions">true=1;false=0</property>
    <property name="show_sql">true</property>
    <mapping assembly="LightWeb.DomainModel"/>
  </session-factory>
</hibernate-configuration>